import React from 'react'
import store from '../../store'
export default function Movie() {
  //通过 store.getState()的方法获取到store中的值并解构出来
  const { count } = store.getState().count
  //通过redux实现共享
  return (
    <div>
      <h1>Movie</h1>
      <p>数字{count}</p>
    </div>
  )
}
